package com.fly.demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fly.demo.model.UserInfo;
import com.fly.demo.model.UserInfoExample;

public interface UserInfoMapper
{
    int countByExample(UserInfoExample example);
    
    int deleteByExample(UserInfoExample example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(UserInfo record);
    
    int insertSelective(UserInfo record);
    
    List<UserInfo> selectByExample(UserInfoExample example);
    
    UserInfo selectByPrimaryKey(String id);
    
    int updateByExampleSelective(@Param("record") UserInfo record, @Param("example") UserInfoExample example);
    
    int updateByExample(@Param("record") UserInfo record, @Param("example") UserInfoExample example);
    
    int updateByPrimaryKeySelective(UserInfo record);
    
    int updateByPrimaryKey(UserInfo record);
    
    /**
     * see UserInfoMapper2.xml
     * 
     * @param id
     * @return
     * @see [类、类#方法、类#成员]
     */
    int deleteById(String id);
}